<?php

if($this->session->userdata('city') == ""){
    
                $newdata = array(
                   'city'  =>  1
                  
               );

                $this->session->set_userdata($newdata); 
    
}

?>
